package com.rayson.oneapi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rayson.oneapi.model.entity.InterfaceInfo;
import com.rayson.oneapi.model.req.IdRequest;
import com.rayson.oneapi.model.req.interfaceinfo.InterfaceInfoAddReq;
import com.rayson.oneapi.model.req.interfaceinfo.InterfaceInfoListReq;
import com.rayson.oneapi.model.req.interfaceinfo.InterfaceInfoUpdateReq;


/**
 * @author wulei
 * @description 针对表【interface_info(接口信息表)】的数据库操作Service
 * @createDate 2024-08-21 20:02:22
 */
public interface InterfaceInfoService extends IService<InterfaceInfo> {

    Page<InterfaceInfo> queryPage(InterfaceInfoListReq listReq);

    void add(InterfaceInfoAddReq addReq);

    void updateInterfaceInfo(InterfaceInfoUpdateReq updateReq);

    void deleteInterfaceInfo(String id);

    void onlineInterfaceInfo(IdRequest idReq);

    void offlineInterfaceInfo(IdRequest idReq);
}
